package com.tdtxdcxm.mynotepad.notedetails;


import java.io.File;

public class NoteDetailInfoList {
    public final String[] typename = {"TextField","Image"};
    public int type = -1;
    public Object object = null;
    public File thisnotefoldername = null;

    public String getName(){
        if(type == 0 || type == 1){
            return typename[type];
        }
        return null;
    }

    public Object getObject() {
        return object;
    }

    public File getThisnotefoldername() {
        return thisnotefoldername;
    }

    public NoteDetailInfoList(Object object, File thisnotefoldername, int type) {
        this.object = object;
        this.thisnotefoldername = thisnotefoldername;
        this.type = type;

    }
}
